package LambdaTest;

/**
 * @author ChenYongHao
 * @date 2023/5/4 8:50
 * @desc 无参无返回值抽象方法练习
 */
interface MyInter {
    void show();
}

public class LambdaTest01 {
    public static void main(String[] args) {
        myInterShow(
                () -> System.out.println("Hello,World")
        );
    }

    public static void myInterShow(MyInter mi) {
        mi.show();
    }
}
